<div class="sidebar">
    <!-- Widgets begin -->
    <ul>
        <!-- ProductsList begin -->
        <li class="sublist">
        	<?php if (get_option('wpyou_products_id')) { $products_id = get_option('wpyou_products_id'); } ?>
           	<h3><?php echo get_cat_name( $products_id ); ?></h3>
            <ul>
                <?php wp_list_cats("orderby=id&child_of=" . $products_id . "&depth=2&hide_empty=0"); ?>
            </ul>
        </li>
        <!-- ProductsList end -->
        <?php wp_reset_query(); ?>
        <!-- Search begin -->
        <li class="widget_search">
        	<h3>站内搜索</h3>
            <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
                <input class="searchInput" type="text" value="输入关键字" name="s" id="s" />
                <input id="searchsubmit" class="searchBtn" type="submit" title="搜索" value="搜 索">
            </form>
        </li>
        <!-- Search begin -->
		<?php wp_reset_query(); ?>
    	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>	
    		<!-- Search begin -->
            <li class="widget">
            	<h3>联系我们</h3>
            	<div>
                	<p><strong>公司地址</strong>: 安徽省长丰县岗集镇(231137)</p>
					<p><strong>联系电话</strong>: 0551-6779849</p>
                    <p><strong>电子邮箱</strong>: 523165274@qq.com</p>
                	<a href="<?php bloginfo('siteurl');?>/contact-us/"><img src="<?php bloginfo('template_directory');?>/images/contact-us.jpg" /></a>
                </div>
            </li>
            <!-- Search begin -->
		<?php endif; ?>
    </ul>
    <!-- Widgets end -->
</div>
<?php wp_reset_query(); ?>